DrawThemeGenericWell
NEW WITH THE APPEARANCE MANAGER
Draws an image well frame consistent with the current theme.
pascal OSStatus DrawThemeGenericWell ( const Rect *inRect, ThemeDrawState inState, Boolean inFillCenter);
inRect
- On input, a pointer to a rectangle.
inState
- A value specifying the state in which the image well frame is to be drawn; see "Appearance-Compliant Draw State Constants". The well can only be drawn as active or inactive; passing
kThemeStatePressed
will result in an error being returned.inFillCenter
- A Boolean value indicating whether the image well frame is to be filled in with white.
- function result
- A result code; see "Result Codes".
DISCUSSION
TheDrawThemeGenericWell
function draws an image well frame, for use with custom image well controls. You can specify that the center of the well be filled in with white.SPECIAL CONSIDERATIONS
Make sure Appearance Manager 1.0.1 is present before calling theDrawThemeGenericWell
function. See "Appearance Manager Gestalt Selector Constants" for details on how to determine if the Appearance Manager is present and what its version is, if so.